package com.yan.club.apply.service;

import com.yan.club.apply.dto.ClubApplyDto;
import com.yan.club.apply.model.ClubApply;
import com.yan.club.result.Result;

import java.util.List;

/**
 * @author 彦
 * @since 2024/1/9 14:53
 */
public interface ClubApplyService {

    /**
     * 新增
     *
     * @param clubApply
     * @return
     */
    Result<String> save(ClubApply clubApply);

    /**
     * 修改状态
     *
     * @param applyId
     * @return
     */
    Result<String> updateStatus(Long applyId, int status);

    List<ClubApply> list(ClubApplyDto clubApplyDto);

    Result<String> delete(Long applyId);

    Result<ClubApply> getApplyByStudentNo(String studentNo);
}
